package com.xmb.common.service;

import com.xmb.common.entity.XmbUserScoreBlotter;
import com.xmb.common.entity.reward.ActivityRanking;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by lyndon on 2019/4/10.
 * 用户积分流水
 */
public interface UserScoreService {

    BigDecimal getTotalScore(Long uid);

    int saveScoreBlotter(XmbUserScoreBlotter record);

    List<XmbUserScoreBlotter> getScoreList(Long userId, Long typeId, String exchangeType);

    List<ActivityRanking> getScoreRanking(Long typeId);

    ActivityRanking getCurrentUserActivityRewardRanking(Long activityId,Long userId);
}
